package com.hzncc.flowable_diboot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.diboot.core.entity.BaseModel;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.NotNull;

/**
* 负责人变更记录 Entity 定义
* @author MyName
* @version 1.0
* @date 2024-07-02
* Copyright © MyCorp
*/

@TableName("mdl_person_change_record")
@Getter @Setter @Accessors(chain = true)
public class PersonChangeRecord extends BaseModel {
    private static final long serialVersionUID = 1452588862217818093L;

    /**
     * 租户
     */
    @NotNull(message = "租户不能为空")
    @TableField()
    private String tenantId;

    /**
     * 客户id
     */
    @TableField()
    private String customerId;

    /**
     * 变更操作人
     */
    @TableField()
    private String operator;

    /**
     * 原负责人
     */
    @TableField()
    private String origin;

    /**
     * 新负责人
     */
    @TableField()
    private String target;

    /**
     * 操作
     */
    @TableField()
    private String oper;


}